const {Schema,model} = require('mongoose');
const menuHead = new Schema({
    title:String,
    path:String,
    component:String,
    name:String,
    show:Number,    // 1 或者 0  
    children:Array
},{
    versionKey:false
})

const menuModel = model('menuModel_DB',menuHead,'menuList')

module.exports = menuModel;